//
//  CDCategories.h
//  freeLance
//
//  Created by s.zalozniy on 3/29/13.
//  Copyright (c) 2013 Mozi Development. All rights reserved.
//

#import <CoreData/CoreData.h>
#import "Categories.h"

@class CDCollections;

@interface CDCategories : NSManagedObject

@property (nonatomic, retain) NSNumber * ident;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSNumber * isSynchronized;
@property (nonatomic, retain) NSSet *collections;

+(CDCategories *) categoryWithCategoryInfo:(Categories *)categoryInfo inContext:(NSManagedObjectContext *)context;
-(void) updateWithCategoryInfo:(Categories *)categoryInfo inContext:(NSManagedObjectContext *)context;

@end

@interface CDCategories (CoreDataGeneratedAccessors)

- (void)addCollectionsObject:(CDCollections *)value;
- (void)removeCollectionsObject:(CDCollections *)value;
- (void)addCollections:(NSSet *)values;
- (void)removeCollections:(NSSet *)values;

@end
